import request from '@/utils/request.js'

// 研二分数列表查询
export const scoreshowListService = () => {
  return request.get('/score2/getScore');
}

// 研二分数添加
export const scoreAddService = (scoredata) => {
  return request.post('/score2/addScore', scoredata);
}

//研二分数修改
export const scoreUpdateService = (scoredata) => {
  return request.put('/score2/updateScore', scoredata);
}

//研二分数删除
export const scoreDeleteService = (studentId) =>{
  return request.delete('/score2/deleteScore/' + studentId);
}

//研二单个查询
export const scoreshowbyidListService = (studentId) =>{
  return request.get('score2/select/' + studentId)
}
